package com.mdb.open.trade.service.trade.handle.dto;

import com.mdb.bc.api.data.DataObjectBase;
import com.mdb.open.trade.service.trade.handle.enums.CcyTypeEnum;
import com.mdb.open.trade.service.trade.handle.enums.DigitalAccountEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: you.yichao
 * @create: 2019-08-02 14:27
 **/
@Data
public class CreateDDAccDto extends DataObjectBase {

    @NotBlank
    @ApiModelProperty(value = "客户号")
    private String ciNo;

    @NotBlank
    @ApiModelProperty(value = "产品码")
    private String prodCd;

    @NotNull
    @ApiModelProperty(value = "账户类型")
    private CcyTypeEnum ccyTyp;

    @ApiModelProperty(value = "货币,当CCY-TYP='S'时，此栏位必输")
    private String ccy;

    @ApiModelProperty(value = "账户英文名称")
    private String acEname;

    @ApiModelProperty(value = "账户本地名称")
    private String acCname;

    @NotBlank
    @ApiModelProperty(value = "账户地址编号,客户地址编号，例如：01、02")
    private String stcAdr;

    @NotNull
    @ApiModelProperty(value = "数字金融平台账户标志")
    private DigitalAccountEnum stsWord;

}
